package com.wyg.blog.service.user;

import com.wyg.blog.model.user.Role;

import java.util.List;

public interface RoleService {

    List<Role> selectRoleByUid(Integer uid);

    Role selectRoleByName(String name);

    boolean insertRole(Role role);

    boolean renewRole(Role role);

    boolean removeRole(Integer id);
}
